package pl.edu.pk.mech.kkbus.dto;

import java.util.Date;

public class Reservation {

    private long id;
    private long userId;
    private long busStopFirstId;
    private long busStopLastId;
    private String busStopFirst;
    private String busStopLast;
    private String hour;
    private int places;
    private Date date;

    public Reservation() {
    }

    public Reservation(long id, long userId, long busStopFirstId, long busStopLastId, String hour, int places, Date date) {
        this.id = id;
        this.userId = userId;
        this.busStopFirstId = busStopFirstId;
        this.busStopLastId = busStopLastId;
        this.hour = hour;
        this.places = places;
        this.date = date;
    }

    public Reservation(long id, long userId, String busStopFirst, String busStopLast, String hour, int places, Date date) {
        this.id = id;
        this.userId = userId;
        this.busStopFirst = busStopFirst;
        this.busStopLast = busStopLast;
        this.hour = hour;
        this.places = places;
        this.date = date;
    }

    public Reservation(long id, long userId, long busStopFirstId, long busStopLastId, String busStopFirst, String busStopLast, String hour, int places, Date date) {
        this.id = id;
        this.userId = userId;
        this.busStopFirstId = busStopFirstId;
        this.busStopLastId = busStopLastId;
        this.busStopFirst = busStopFirst;
        this.busStopLast = busStopLast;
        this.hour = hour;
        this.places = places;
        this.date = date;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getBusStopFirstId() {
        return busStopFirstId;
    }

    public void setBusStopFirstId(long busStopFirstId) {
        this.busStopFirstId = busStopFirstId;
    }

    public long getBusStopLastId() {
        return busStopLastId;
    }

    public void setBusStopLastId(long busStopLastId) {
        this.busStopLastId = busStopLastId;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public int getPlaces() {
        return places;
    }

    public void setPlaces(int places) {
        this.places = places;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getBusStopFirst() {
        return busStopFirst;
    }

    public void setBusStopFirst(String busStopFirst) {
        this.busStopFirst = busStopFirst;
    }

    public String getBusStopLast() {
        return busStopLast;
    }

    public void setBusStopLast(String busStopLast) {
        this.busStopLast = busStopLast;
    }

}
